<%--
  Created by IntelliJ IDEA.
  User: Administrator
  Date: 2015/10/22
  Time: 0:34
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" isELIgnored="false" %>
<%@taglib prefix="s" uri="/struts-tags" %>
<html>
<head>
    <title></title>
</head>
<body>
<s:iterator var="counter" begin="1" end="5">
  <s:if test="%{#counter == 3}">
    <h1 style="color: red">${counter}</h1>
  </s:if>
  <s:property value="counter"></s:property>
  <%--<s:else>--%>
    <%--${counter}--%>
  <%--</s:else>--%>

</s:iterator>
<s:set name="a" value="3" ></s:set>
<s:if test="#a > 2">
  <h1>Hello</h1>

</s:if>
${a}

<s:a disabled="true" href="#">测试</s:a>
<s:debug></s:debug>
</body>
</html>
